package com.kx.center.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.kx.center.auth.Authentication;
import com.kx.center.util.Response;

@Controller
@RequestMapping("/test")
public class TestController {

	
	@RequestMapping(value = "mytest" , method = RequestMethod.POST ,produces = "application/json;charset=UTF-8")
	@ResponseBody
	public String sendNoticeMsg(HttpServletRequest request){
			
		
		String nickName = request.getParameter("nickname");
		
		System.out.println(nickName);
		
		return Response.success();	
	}
}
